package com.swiftride.feign;

import com.swiftride.constants.Constants;
import com.swiftride.pojo.param.RegisterParam;
import com.swiftride.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = Constants.Remote.SERVICE_UAA, path = "/app/login", contextId = "UaaFeign")
public interface UaaFeign {

    @PostMapping
    R<Long> register(@RequestBody RegisterParam registerParam);
}
